package com.eightbears.beboy.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Bao on 2017/7/19.
 */

public class WaitPaymentEntity implements Serializable {

    public static final String PARAMS_WAIT_PAYMENT = "waitPayment";

    private String message;
    private String status_code;
    private WaitPaymentList data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public WaitPaymentList getData() {
        return data;
    }

    public void setData(WaitPaymentList data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "WaitPaymentEntity{" +
                "message='" + message + '\'' +
                ", status_code='" + status_code + '\'' +
                ", data=" + data +
                '}';
    }

    public static class WaitPaymentList implements Serializable {

        private int next_page;
        private int page_size;
        private List<WaitPayment> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public List<WaitPayment> getList() {
            return list;
        }

        public void setList(List<WaitPayment> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "WaitPaymentList{" +
                    "next_page=" + next_page +
                    ", page_size=" + page_size +
                    ", list=" + list +
                    '}';
        }
    }

    public static class WaitPayment implements Serializable {
        private String id;
        private String status;
        private String type;
        private String channel;
        private String out_trade_no;
        private String user_id;
        private String object_id;
        private String total_amount;
        private String receipt_amount;
        private String hong_bao_id;
        private String hong_bao_amount;
        private String payment_info;
        private ObjectInfo object;


        public ObjectInfo getObject() {
            return object;
        }

        public void setObject(ObjectInfo object) {
            this.object = object;
        }

        public String getReceipt_amount() {
            return receipt_amount;
        }

        public void setReceipt_amount(String receipt_amount) {
            this.receipt_amount = receipt_amount;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getObject_id() {
            return object_id;
        }

        public void setObject_id(String object_id) {
            this.object_id = object_id;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getHong_bao_id() {
            return hong_bao_id;
        }

        public void setHong_bao_id(String hong_bao_id) {
            this.hong_bao_id = hong_bao_id;
        }

        public String getHong_bao_amount() {
            return hong_bao_amount;
        }

        public void setHong_bao_amount(String hong_bao_amount) {
            this.hong_bao_amount = hong_bao_amount;
        }

        public String getPayment_info() {
            return payment_info;
        }

        public void setPayment_info(String payment_info) {
            this.payment_info = payment_info;
        }

        @Override
        public String toString() {
            return "WaitPayment{" +
                    "id='" + id + '\'' +
                    ", status='" + status + '\'' +
                    ", type='" + type + '\'' +
                    ", channel='" + channel + '\'' +
                    ", out_trade_no='" + out_trade_no + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", object_id='" + object_id + '\'' +
                    ", total_amount='" + total_amount + '\'' +
                    ", hong_bao_id='" + hong_bao_id + '\'' +
                    ", hong_bao_amount='" + hong_bao_amount + '\'' +
                    ", payment_info=" + payment_info +
                    '}';
        }
    }


    public static class ObjectInfo  implements Serializable {

        private String id;
        private String shop_id;
        private String title;
        private String content;
        private String cover;
        private String price;
        private String discount_price;
        private String status;
        private String rec_num;
        private String start_at;
        private String end_at;
        private Shop shop;


        public Shop getShop() {
            return shop;
        }

        public void setShop(Shop shop) {
            this.shop = shop;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDiscount_price() {
            return discount_price;
        }

        public void setDiscount_price(String discount_price) {
            this.discount_price = discount_price;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getRec_num() {
            return rec_num;
        }

        public void setRec_num(String rec_num) {
            this.rec_num = rec_num;
        }

        public String getStart_at() {
            return start_at;
        }

        public void setStart_at(String start_at) {
            this.start_at = start_at;
        }

        public String getEnd_at() {
            return end_at;
        }

        public void setEnd_at(String end_at) {
            this.end_at = end_at;
        }

        @Override
        public String toString() {
            return "ObjectInfo{" +
                    "id='" + id + '\'' +
                    ", shop_id='" + shop_id + '\'' +
                    ", title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", cover='" + cover + '\'' +
                    ", price='" + price + '\'' +
                    ", discount_price='" + discount_price + '\'' +
                    ", status='" + status + '\'' +
                    ", rec_num='" + rec_num + '\'' +
                    ", start_at='" + start_at + '\'' +
                    ", end_at='" + end_at + '\'' +
                    '}';
        }
    }

    public static class Shop  implements Serializable {
        private String shop_id;
        private String title;

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "Shop{" +
                    "shop_id='" + shop_id + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }
}
